package com.example.mq.mqsever.core;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WHY
 * Date: 2023-08-20
 * Time: 18:04
 */
public enum Exchangetype {
    DIRECT(0),
    FANOUT(1),
    TOPIC(2);
    private final int type;
    private Exchangetype(int type){
        this.type=type;
    }
    public int getType(){
        return type;
    }
}
